<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>    	
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String contextPath = request.getContextPath();
%>  

<script>
function selectAll(){
 var checkAll=document.getElementsByName("checkAll")[0];
 var check;
  if(checkAll.checked)
   check=true;
  else
   check=false;
 
 var objElements = document.getElementsByName("checkchoice");
 var chboxSize=objElements.length;
  
   for(var i = 0; i<chboxSize;i++)
   {
    objElements[i].checked=check;
   }
  }
</script>




<!-- //Wrapper -->
<div id="wrapper">

<!-- Contenter_Sub -->

<div id="container_sub">
<!-- Content_List -->
		
<div id="sub_page_bg1"></div>
<!-- Sub Page Background -->

<div id="content_list">
  <div class="title">
	
	<div class='sub_title'>
	 		<ul>
			<li>쪽지보내기</li>
			<li class='stitle'>쪽지 보내기</li>
		</ul>
	</div>
	<div class='navig'>
		<ul>
			<li class='frst'><img src='../image/all/home_icon.png' align='absmiddle' width='13' height='13'><a href='/wedding/index.do'>HOME</a></li>
			<li>쪽지보내기</li>
		</ul>
	</div>
	<!-- sub_menu-->
<%-- 	<ul class='sub_menu'>		
		<ul class="sub_tab">
			<li><a class='over' href="<%=contextPath%>/admin/list.do">회원관리</a></li>
			<li><a class='rollover' href="<%=contextPath%>/admin/paymentList.do">결제관리</a></li>
			<li><a class='rollover' href="<%=contextPath%>/matching/proposeManager.do">프로포즈관리</a></li>
		</ul>
	</ul>
	 --%>
</div>
<form:form commandName="command" action="write.do">
받는사람 id:${member.id} <input type="text" name="rid" value="${member.id}" readonly="readonly"><br>
보내는사람 id:${id} <input type="text" name="id" value="${id}" readonly="readonly">
<br><br>내용<br>
<form:textarea rows="10" cols="40" path="content"/>
<br>
<input type="submit" value="쪽지보내기">
<input type="button" value="main page" onclick="location.href='index.do'">
<input type="button" value="propose목록" onclick="location.href='proposeList.do'">
</form:form>		
		<!-- <div id="blank">&nbsp;</div> -->
		</div>
		<!-- //content_list -->

	</div>
	<!-- //contenter_sub -->

</div>
<!-- //wrapper -->

<hr>

